nested vmx: fix DR access VM exit
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:56:49 +0000 (16:56 +0000)
committerDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:56:49 +0000 (16:56 +0000)
commit4a069acdbdc89bafca1da3c88830d97d5105c296
tree08f4581242e5a6d3f9809e7adba69669910d1926
parent441fb37db42d856c2ea7a0f9022534133ff7870a
nested vmx: fix DR access VM exit

For DR register, we use lazy restore mechanism when access
it. Therefore when receiving such VM exit, L0 should be responsible to
switch to the right DR values, then inject to L1 hypervisor.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c